package com.appspot.domain;

import java.io.Serializable;

public class RankVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	// Field
	private int no;				        		// 순위
	private String userId;				// User 아이디
	private long gameTime;			// 게임 토탈 시간
	private int giftQty;						// 경품수량

	// Constructor	
	public RankVO() {
		super();
	}

	public RankVO(int no, String userId, long gameTime, int giftQty) {
		super();
		this.no = no;
		this.userId = userId;
		this.gameTime = gameTime;
		this.giftQty = giftQty;
	}

	// Getter/Setter Method
	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public long getGameTime() {
		return gameTime;
	}

	public void setGameTime(long gameTime) {
		this.gameTime = gameTime;
	}

	public int getGiftQty() {
		return giftQty;
	}
	
	public void setGiftQty(int giftQty) {
		this.giftQty = giftQty;
	}

	// toString Method
	@Override
	public String toString() {
		return "RankVO [no=" + no + ", userId=" + userId + ", gameTime="
				+ gameTime + ", giftQty=" + giftQty + "]";
	}	
	
} // end of class
